package pattern.callback.example1;

public class Service {
	private CallBack callback;

	public Service(CallBack callBack) {
		this.callback = callBack;
	}

	public void doSomething() {
		callback.execute();
	}

}
